export default class extends think.Logic {
  postAction() {
    this.allowMethods = "post";
     this.rules = {
      file: {
        required: true, // required 默认为false
        image: true,
        aliasName:'文件',
        method: "file", // 文件通过post提交，验证文件需要制定 method 为 `file`
      },
    };
  
  }
}
